package com.example.administrator.shihuo.utils;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.squareup.picasso.Picasso;

/**
 * Created by Administrator on 2016/5/11.
 */
public class ImageUtils {

    /**
     * @param context 上下文
     * @param url 下载路径
     * @param view 目标ImageView
     */
    public static void getImage(Context context,String url,ImageView view){
        Picasso.with(context).load(url).into(view);
    }
}
